html {
    overflow-y: auto;
}

#root {
    display: flex;
    flex-direction: column;
    & > .page_home {
        flex: 1;
    }
}

.content_wrapper {
    display: flex;
    .left_menu_wrapper {
    }

    .content {
        flex: 1;
        overflow: hidden;
        border-left: 1px solid rgba($color: #32b5e9, $alpha: .4);
    }
}


.sketch_mask {
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    position: absolute;
    background: rgba($color: #ffffff, $alpha: 1);
    z-index: 88;
    display: flex;
    justify-content: center;
    .box {
        margin-top: 25vh;
        border-radius: 3px;
        font-size: 30px;
        text-align: center;
        padding: 1em;
        width: 80px;
        color: rgba($color: #32b5e9, $alpha: 0.4);
        margin-bottom: .25em;
        vertical-align: top;
        -webkit-transition: .3s color, .3s border;
        transition: .3s color, .3s border;
    }

    [class*="loading"] {
        display: inline-block;
        width: 1em;
        height: 1em;
        color: inherit;
        vertical-align: middle;
        pointer-events: none;
    }

    .loading {
        position: relative;
    }
    .loading:before,
    .loading:after {
        content: '';
        width: inherit;
        height: inherit;
        border-radius: 50%;
        background-color: currentcolor;
        position: absolute;
        top: 0;
        left: 0;
        -webkit-animation: loading 2.0s infinite ease-in-out;
        animation: loading 2.0s infinite ease-in-out;
    }
    .loading:after {
        -webkit-animation-delay: -1.0s;
        animation-delay: -1.0s;
    }
    @-webkit-keyframes loading {
        0%, 100% {
            -webkit-transform: scale(0);
            transform: scale(0);
        }
        50% {
            -webkit-transform: scale(1);
            transform: scale(1);
        }
    }
    @keyframes loading {
        0%, 100% {
            -webkit-transform: scale(0);
            transform: scale(0);
        }
        50% {
            -webkit-transform: scale(1);
            transform: scale(1);
        }
    }
}

// viewcode页面高亮
.view_code {
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: all .3s ease;
    &:hover {
        border-color: rgba($color: #32b5e9, $alpha: .5);
        box-shadow: 0 0 3px rgba($color: #32b5e9, $alpha: .5);
    }
    pre {
        margin: 0!important;
    }
}